package cn.lbd.api.designMode.builder.demo1;

//指挥：核心  负责指挥构建一个工程，工程如何构建，由他决定
public class Director {

    public Product build(Builder builder){
        builder.buildA();
        builder.buildB();
        builder.buildC();
        builder.buildD();

        return builder.getProduce();
    }
}
